{% extends "base.html"%}

{% block title %}Home Page{% endblock %}

{% block content %}
<h2>Welcome to the Home Page!</h2>
<p>Content goes.</p>
{% from "macros.html" import render_item %}
<!---导入宏--->
<h1>Item</h1>
{% for item in items %}
<!--用宏来渲染每个item-->
    {{render_item(item)}}
{% endfor %}
{% endblock %}







